#include "vm/opcodes.hpp"
#include "rep/rep.hpp"

using namespace rep;

namespace vm{
  Continuation handle_noop(Cons* stack, Slot* env, Instruction pc, Continuation standard_next);

  Continuation handle_builtin(Cons* stack, Slot* env, Instruction pc, Continuation standard_next);

  Continuation handle_call(Cons* stack, Slot* env, Instruction pc, Continuation standard_next);

  Continuation handle_go_cont(Cons* stack, Slot* env, Instruction pc, Continuation standard_next);

  Continuation handle_make_cont(Cons* stack, Slot* env, Instruction pc, Continuation standard_next);

  Continuation handle_load(Cons* stack, Slot* env, Instruction pc, Continuation standard_next);

  Continuation handle_store(Cons* stack, Slot* env, Instruction pc, Continuation standard_next);

  Continuation handle_end(Cons* stack, Slot* env, Instruction pc, Continuation standard_next);
};
